package com.xzy.mybatis.event;

import lombok.Getter;
import org.springframework.context.ApplicationEvent;

/**
 * @author xzy.xiao
 * @date 2023/11/6  19:26
 */
@Getter
public class CustomerEvent extends ApplicationEvent {
    private final Object data;

    public CustomerEvent(Object source, Object data) {
        super(source);
        this.data = data;
    }
}
